# does not output extensions
# Given the DCN Name, aggregation window of traffic matrix snapshots, ToE, TE, and critical matrix finder
# outputs the file name. Note that the function does not attach the file extensions like .txt or .pb
def name_file(dcn_name, aggregation_window, representative_matrix_finder, ToE_tool, TE_tool):
	filename = dcn_name + "/"
	filename += "agg{}".format(aggregation_window)
	if representative_matrix_finder is not None:
		filename += ("_" + representative_matrix_finder.get_filename_param())
	if ToE_tool is not None:
		filename += ("_" + ToE_tool.get_filename_param())
	if TE_tool is not None:
		filename += ("_" + TE_tool.get_filename_param())
	return filename
